//
//  NDRepaymentView.swift
//  NyamanDana
//
//  Created by 李永彬 on 2025/10/25.
//

import SwiftUI

struct NDRepaymentView: View {
    let repayItem: RepayItem
    
    var body: some View {
        HStack(spacing: 12) {
            Image("home_tips_noti")
                .scaledToFit()
                .frame(width: 16, height: 16)
            Text(repayItem.clositious ?? "")
                .font(.system(size: 14))
                .foregroundColor(Color(hex: "#FFFFFF"))
                .shadow(radius: 2)
                .frame(maxWidth: .infinity)
            Image("home_tips_arrow")
                .scaledToFit()
                .frame(width: 16, height: 16)
        }
        .padding(.horizontal, 20)
        .frame(maxWidth: .infinity)
    }
}

